<?php

Route::group(['middleware' => 'web', 'namespace' => 'App\\Modules\Web\Http\Controllers'], function()
{
    Route::get('/', 'WebController@index');
});

Route::group(['middleware' => 'web', 'prefix' => 'web', 'namespace' => 'App\\Modules\Web\Http\Controllers'], function()
{
    Route::post('register', 'registerController@create');
});
